//Source file: D:\\JavaSE\\software-learning\\software-engineering\\work3\\silverCardUser.java


public class silverCardUser extends User {
   @Override
   public double calculateDiscount(double price) {
      return price * 0.9; // 10% discount for silver card users
   }
}
